package com.jckl.foodathon.common.util;

import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.TimeZone;

public class DateTime {
	
	public static Date getLocalTimezone(Date d){
		TimeZone singapore = TimeZone.getTimeZone("Asia/Singapore");
		Calendar calendar = new GregorianCalendar();
		
		calendar.setTime(d);
		calendar.setTimeZone(singapore);
		
		return	calendar.getTime();		
	}

}
